package com.risk.kernel.service;

import org.springframework.jdbc.core.PreparedStatementCreator;

import java.util.List;
import java.util.Map;

/**
 * @author: Liwen
 * @createTime: 2024/11/25
 * @description:
 */
public interface JdbcSqlBuildService {

    PreparedStatementCreator toInsert(String tableName, Map<String, Object> value);

    PreparedStatementCreator toUpdate(String tableName, Map<String, Object> value, String key);

    String toDelete(String tableName, String key, List<String> list);

}
